import { harTasks } from '@ohos/hvigor-ohos-plugin';
import { etsGeneratorPlugin, PluginConfig } from '@app/ets-generator';

// 配置路由信息
const config: PluginConfig = {

  // 扫描文件的路径
  // scanFiles: [
  //     "src/main/ets/components/browsingHistory/BrowsingHistory",
  //     "src/main/ets/components/feedback/FeedBack",
  //     "src/main/ets/components/GrowthSystem/taskCenter/TaskCenter",
  //     "src/main/ets/components/helpCenter/HelpCenter",
  //     "src/main/ets/components/setting/Setting",
  //     "src/main/ets/components/submissionReview/SubmissionReview",
  //     "src/main/ets/components/userAccount/UserAccount",
  //     "src/main/ets/components/userCache/UserCache",
  //     "src/main/ets/components/userCenter/UserCenter",
  //     "src/main/ets/components/userCollect/UserCollect",
  //     "src/main/ets/components/userCoupon/UserCoupon",
  //     "src/main/ets/components/userCourse/UserCourse",
  //     "src/main/ets/components/userFollow/UserFollow",
  //     "src/main/ets/components/userMedal/UserMedal",
  //     "src/main/ets/components/userMeetingOrder/UserMeetingOrder",
  //     "src/main/ets/components/userMessage/UserMessage",
  //     "src/main/ets/components/userOrder/UserOrder",
  //     "src/main/ets/components/userPodium/UserPodium",
  //     "src/main/ets/components/userRelease/UserRelease"
  // ]
}

export default {
  system: harTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
  plugins: [etsGeneratorPlugin(config)]         /* Custom plugin to extend the functionality of Hvigor. */
}